package com.united.ucts.modules.system.pojo.dto;

import com.united.frame.common.module.pojo.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;

/**
 * 用户登录参数
 *
 * @author hudan
 * @version 1.0
 * @filename AdminLoginParamDto.java
 * @copyright <a href="www.chancein.com">www.chancein.com</a>
 * @date 2019-03-01
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class AdminLoginParamDto extends BaseDto {

    @NotEmpty
    @ApiModelProperty(value = "用户名", required = true)
    private String username;
    @NotEmpty
    @ApiModelProperty(value = "密码", required = true)
    private String password;
}